package com.shiroha.user.service;

import com.mybatisflex.core.service.IService;
import com.shiroha.common.pojo.dto.UserDTO;
import com.shiroha.user.pojo.CachedUser;

public interface ICachedUserService extends IService<CachedUser> {
    /**
     * 保存用户
     * @param userDTO DTO对象
     */
    Boolean saveCachedUser(UserDTO userDTO);

    /**
     * 更新用户
     * @param userDTO DTO对象
     */
    Boolean updateCachedUser(UserDTO userDTO);
}
